<?php
/*
Template Name: Recent Web Sites
*/
global $SilasConfig;

get_header();
the_post();
$links = get_bookmarks(array('category' => '36', 'orderby' => 'name'));


?>

<h1><a href="<?php the_permalink() ?>" rel="bookmark" title="Permanent Link to <?php the_title(); ?>"><?php the_title(); ?></a></h1>
<?php the_content('Read the rest of this entry &raquo;'); ?>

<ul id="sites">
<?php foreach ($links as $i => $link):?>
<li class="<?php echo ($odd = !$odd ? 'odd' : 'even');?>">
<div class="thumbnail"><a href="<?php echo $link->link_url;?>"><img src="<?php echo makeThumbnail($link->link_url);?>" width="202" height="152" /></a></div>
<strong><a href="<?php echo $link->link_url;?>"><?php echo $link->link_name;?></a></strong><br />

</li>
<?php endforeach;?>
</ul>

<?php get_footer(); ?>
